package org.rency.crawler.fetch.repository;

import org.rency.crawler.domain.FetchHost;

/**
 * 描述: ${TODO}<br>
 * 最近修改时间:2017/11/22 11:52<br>
 *
 * @author CaiyuRen
 * @version V1.0
 * @since 2017/11/22 11:52
 */
public interface HostQueueRepository {

  public FetchHost get(String fetchHost);

  public boolean save(FetchHost fetchHost);

  public boolean update(FetchHost fetchHost);

  public long removeAll();
}
